<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!--String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";-->


<!DOCTYPE html>
<html lang="zh-cn">
  <head>
	  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	  <meta charset="utf-8">
	  <!-- Title and other stuffs -->
	  <title>Bootstrap响应式后台管理系统</title> 
	  <meta name="keywords" content="Bootstrap后台管理系统" />
	  <meta name="description" content="Bootstrap后台管理系统" />
	  <meta name="viewport" content="width=device-width, initial-scale=1.0">
	  <meta name="author" content="">
	 <jsp:include page="../bootstrap/top_css.jsp"></jsp:include>
	  
	  <link rel="shortcut icon" href="img/favicon/favicon.png">
  </head>
  
  <body>
<!-- top -->
	<jsp:include page="../bootstrap/top.jsp"></jsp:include>
<!-- Header starts -->
  <header>
	<jsp:include page="../bootstrap/top_header.jsp"></jsp:include>
  </header>
<!-- Header ends -->

<!-- Main content starts -->

<div class="content">

  	<!-- 左首页列表 -->
    <jsp:include page="../bootstrap/left.jsp"></jsp:include>

  	<!-- 大容器 -->
  	<div class="mainbar">
      
	    <!-- 首页标题 -->
	    <div class="page-head">
	      <h2 class="pull-left"><i class="icon-home"></i> 商品管理</h2>

        <!-- Breadcrumb -->
        <div class="bread-crumb pull-right">
          <a href="#"><i class="icon-home"></i> 首页</a> 
          <!-- Divider -->
          <span class="divider">/</span> 
          <b class="bread-current">编辑商品类别信息</b>
        </div>
        
        <div class="clearfix"></div>

	    </div>

	    <!-- 正文 -->
	    <table class="table table-bordered" cellSpacing="1" cellPadding="4" width="100%" border="0">
					<tr bgcolor="gray">
						<td colspan="2" class="tb_pink_border"><font style="color: white; font-size: 13px; font-weight: bold;">修改商品类别信息</font></td>
					</tr>
		</table>
		<form class="form-horizontal" action="${pageContext.request.contextPath }/supplier/editGoodsType.action" method="post" >
	                    <!-- Registration form starts -->
	                                      <!-- Name -->
	                                          <div class="form-group">
	                                            <label class="control-label col-lg-3" style="width: 20%" for="name"> <font color="red">*</font>&nbsp;&nbsp;供应商</label>
	                                            <div class="col-lg-9">
	                                             <select name="supplierUuid">
										     	  		<c:forEach items="${sessionScope.supp }" var="s">
										     	  			<option  value="${s.uuid }" <c:if test="${goodsType.supplierUuid==s.uuid }">selected="selected"</c:if>>${s.name }</option>
										     	  		</c:forEach>
										     	  </select>
	                                            </div>
	                                          </div>   
	                                          <!-- Email -->
	                                          <div class="form-group">
	                                            <label class="control-label col-lg-3" style="width: 20%" for="email"> <font color="red">*</font>&nbsp;&nbsp;商品类别名称</label>
	                                            <div class="col-lg-9">
	                                              <input type="text" required="required" class="form-control" id="name" name="name" value="${goodsType.name }">
	                       						  <input type="hidden" name="uuid" value="${goodsType.uuid }">
	                                            </div>
	                                          </div>
	                                          <!-- Accept box and button s-->
	                                          <div class="form-group">
	                                            <div class="col-lg-9 col-lg-offset-3">
	                                              <br />
	                                              <input  type="submit" class="btn btn-danger" value="修改"/>
	                                              <button type="reset" class="btn btn-success">重置</button>
	                                            </div>
	                                            <div class="form-group">
	                                            <div class="col-lg-9 col-lg-offset-3">
												  <div class="checkbox">
	                                              <label>
	                                                  <font color="gray">注：&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="red">*</font><font color="gray">&nbsp;&nbsp;&nbsp;&nbsp;为必填信息</font>
	                                              </label>
												  </div>
	                                             </div> 
	                                          </div>
	                                          </div>
	                  </form>
    </div>
    
</div>
   <!-- Mainbar ends -->
   <div class="clearfix"></div>


<!-- 脚部 -->
	<jsp:include page="../bootstrap/bottom.jsp"></jsp:include>

<!-- Scroll to top -->
<span class="totop"><a href="#"><i class="icon-chevron-up"></i></a></span> 

<!-- JS -->
	<jsp:include page="../bootstrap/bottom_JS.jsp"></jsp:include>
  </body>
</html>
